function forEachIn(object,func){
    for(var value in object) func(value,object[value]);
}